import service from "../utils/request";

export function GetCode(data = {}){
  return service.request({
    method: "post",
    url: `${process.env.VUE_APP_API_WEB}/account/code/`,
    data
  })
}

export function Register(data = {}){
  return service.request({
    method: "post",
    url: `${process.env.VUE_APP_API_WEB}/account/register/`,
    data
  })
}

export function Login(data = {}){
  return service.request({
    method: "post",
    url: `${process.env.VUE_APP_API_WEB}/account/login/`,
    data
  })
}

export function Forget(data = {}){
  return service.request({
    method: "post",
    url: `${process.env.VUE_APP_API_WEB}/account/forget/`,
    data
  })
}